{"ast":null,"code":"import React from'react';import{ContactItem}from\"../index\";import\"./Contacts.scss\";import{jsx as _jsx}from\"react/jsx-runtime\";var Contacts=function Contacts(props){return/*#__PURE__*/_jsx(\"div\",{className:\"contacts-container\",children:props.contacts.items.map(function(item,index){return/*#__PURE__*/_jsx(ContactItem,{contact:item,index:index,currentUser:props.currentUser,addRequest:props.addRequest,sentRequest:props.sentRequest,allAccepted:props.allAccepted},item.id);})});};export default Contacts;","map":{"version":3,"names":["React","ContactItem","Contacts","props","contacts","items","map","item","index","currentUser","addRequest","sentRequest","allAccepted","id"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/src/components/Contacts/index.tsx"],"sourcesContent":["import React from 'react';\nimport {ContactsProps} from \"../../models/props/ContactsProps\";\nimport {ContactItem} from \"../index\";\nimport \"./Contacts.scss\";\n\nconst Contacts: React.FC<ContactsProps> = (props) => {\n\n    return (\n        <div className='contacts-container'>\n            {props.contacts.items.map((item, index) => (\n                <ContactItem\n                    key={item.id}\n                    contact={item}\n                    index={index}\n                    currentUser={props.currentUser}\n                    addRequest={props.addRequest}\n                    sentRequest={props.sentRequest}\n                    allAccepted={props.allAccepted}\n                />\n            ))}\n        </div>\n    );\n}\n\nexport default Contacts;"],"mappings":"AAAA,MAAOA,MAAK,KAAM,OAAO,CAEzB,OAAQC,WAAW,KAAO,UAAU,CACpC,MAAO,iBAAiB,CAAC,2CAEzB,GAAMC,SAAiC,CAAG,QAApCA,SAAiC,CAAIC,KAAK,CAAK,CAEjD,mBACI,YAAK,SAAS,CAAC,oBAAoB,UAC9BA,KAAK,CAACC,QAAQ,CAACC,KAAK,CAACC,GAAG,CAAC,SAACC,IAAI,CAAEC,KAAK,qBAClC,KAAC,WAAW,EAER,OAAO,CAAED,IAAK,CACd,KAAK,CAAEC,KAAM,CACb,WAAW,CAAEL,KAAK,CAACM,WAAY,CAC/B,UAAU,CAAEN,KAAK,CAACO,UAAW,CAC7B,WAAW,CAAEP,KAAK,CAACQ,WAAY,CAC/B,WAAW,CAAER,KAAK,CAACS,WAAY,EAN1BL,IAAI,CAACM,EAAE,CAOd,EACL,CAAC,EACA,CAEd,CAAC,CAED,cAAeX,SAAQ"},"metadata":{},"sourceType":"module"}